package com.twu.biblioteca;

import com.twu.biblioteca.DataBase.User;

import java.util.ArrayList;

public class Account {
    private ArrayList<User> users;
    private User currentUser;

    public Account() {
        this.users = new ArrayList<User>();
        users.add(new User("111-1111", "Marina", "marina@tw.com", "13403334444", "112233"));
        users.add(new User("111-2222", "Kayla", "kayla@tw.com", "13403322444", "334455"));
        users.add(new User("111-3333", "Sofia", "sofia@tw.com", "13411322444", "556677"));
    }

    public ArrayList<User> getUsers() {
        return users;
    }

    public void setCurrentUser(User user) {
        this.currentUser = user;
    }

    public User getCurrentUser() {
        return currentUser;
    }
}
